<?php
    $APIMaxPage = 10000000;
$at = "NO,PA,FL";//auction
		$ItemUrl = "http://xml.bidders.co.jp/bep/xml?";
		$ListUrl = $ItemUrl;
		$XmlOrJson = "XML";
		$ListModel = array(
			"Available"	=> "TotalCount",//all count
			"item"		=> array(
								"ItemInfo=>{n}"	=> array(
										"site"		=> "bidders",
										"title"		=> "ItemName",
										"itemid"	=> "ItemNo",
										"img"		=> "ImageUrl",
										"price"		=> "CurrentPrice",
										"bidorbuy"	=> "",
										"store"		=> "",
										"NewItem"	=> "",
										"bids"		=> "BidNum",//auction
										"starttime"	=> "",
										"endtime"	=> "EndDate",
										"timeleft"	=> "RemainTime"
								)
							)
		);
		$ItemModel = array(
			"title"		=> "ItemName",
			"itemid"	=> "ItemNo",
			"img"		=> "ImageUrl",
			"url"		=> "http://bidders.co.jp/aitem/|ItemNo",
			"price"		=> "CurrentPrice",//現在価格です
			"quantity"	=> "ItemNum",//商品の数量です。
			"bidorbuy"	=> "",//即決価格です
			"bids"		=> "BidNum",//現在の入札数です
			"condition"	=> "",//商品の状態です。
			"endtime"	=> "EndDate",
			"remaintime"=> "RemainTime",//残り時間
			"store"		=> ""//有 StoreIcon :オークションストアの出品   无:一般の出品者の出品
		);
		$Category = array(
				"Cameras"		=>	"8",//AV、カメラ
				"SportingGoods"	=>	"5",//体育用品
				"Computer"		=>	"7",//电脑
				"Automotive"	=>	"508",//汽车
				"HomeImprovement"		=>	"9",//家居改善住まい、インテリア
				"Toys"			=>	"1019",//玩具おもちゃ、ゲーム
				"Hobbies"				=>	"28",//爱好 ホビー
				"Baby"			=>	"10",//宝贝
				"Food"			=>	"909",//食品、飲料
				"HealthPersonalCare"	=>	"921",//健康个人护理
				"Books"			=>	"212",//书籍
				"Watches"		=>	"27",//钟表アクセサリー、時計
				"Fashion"		=>	"3",//ファッション|时尚
				"Classical"		=>	"6",//古典
				"OfficeProducts"=>	"11",//办公产品 事務、店舗用品 文具
				"DVD"			=>	"2",//DVD
				"Entertainment"	=>	"1",//タレントグッズ  タレント・キャラクターグッズ|艺人·明星商品|
				"Tickets"		=>	"211",//チケット、金券、宿泊予約
				"Pets"			=>	"931",//ペット、生き物
				"DesignerItems"=>	"21",//ブランド|名牌|名牌|Designer Items
				
				//"Beauty"		=>	"921",//美容ビューティー
				//"Electronics"	=>	"8",//电子 家電、
				//"Music"			=>	"2",//音乐
				//"Video"			=>	"2",//映画、ビデオ
			);
		$SortOrder = array(
			"end,A"		=>	"end,A",
			"end,D"		=>	"end,D",
			"price,A"	=>	"price,A",
			"price,D"	=>	"price,D",
			"bids,A"		=>	"num,A",
			"bids,D"		=>	"num,D"
		);

		$ItemParam = array(
				"tf"          => "xml_lite7",
				"exhibit_id"  => _GET("itemid")
			);
		$ListParam = array(
				"tf"          => "xml_lite7",
				//"categ_id"    => $Category[$_GET["c"]],
				"categ_id"    => checknull("id", checknull(_GET("c"), $SiteCate["auction"]["bidders"])),
				"categ_id_all" => checknull("bidders", checknull(_GET("c"), $SiteCate["auction"]["all"])),
				"xsl_no_cache"=> "",
				"charset"     => "UTF-8",
				"enc"         => "",
				"keyword"     => $keyword,
				"at"          => $at,
				"chigh"       => _GET("Maxprice"),
				"clow"        => _GET("Minprice"),
				"high"        => "",
				"low"         => "",
				"jan_code"    => "",
				"user"        => "",
				"nouser"      => "",
				"ipp"         => empty($_GET["n"])?"20":$_GET["n"],
				//"sort"        => empty($_GET["s"])?"":$SortOrder[$_GET["s"]],
				"sort"        => checknull(_GET("s"), $SortOrder),
				"page"        => $pagenum,
				"ref"         => "",
				"th"          => "",
				"n"           => ""
			);
?>